/*
 * @Author: xushuhao
 * @Email: xshmouse@163.com
 * @Date: 2020-04-22 16:56:23
 * @Last Modified by: xushuhao
 * @Last Modified time: 2020-06-05 09:09:24
 * @Description: 学科
 */


import 'package:dio/dio.dart';
import 'package:flutter/foundation.dart';

/// 学科管理相关
class ReqSubject {
  final Dio _dio;

  ReqSubject(this._dio);
  Future<Response> getList({ @required String schoolId, @required String periodId}) {
      return _dio.get(
       '/common/getSubjectList',
      queryParameters: {
        "schoolId": schoolId,
        "periodId": periodId,
      }
    );
  }

}